<!DOCTYPE html>
<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>华猫商城</title>
		<style></style>
		<link href="../css/jquery.validator.css" rel="stylesheet">
		<link href="../css/common.css" rel="stylesheet">

		<link href="../plugin/userLib/css/user.css" rel="stylesheet">
		<link href="../plugin/userLib/css/userinfo.css" rel="stylesheet">
		<link href="../plugin/userLib/css/my_user.css" rel="stylesheet">
		<link href="../css/base.css" rel="stylesheet">
		<style>

		</style>
	</head>

	<body>
		<div id="header"></div>
		<div id="headerBox"></div>
		<!--<div id="nav_menu"></div>-->
		<div class="ZZHT-wrap">
			<div class="ZZHT-header" style="border-bottom: 1px solid #ffffff;">
				<div class="ZZHT-shop-nav">
					<div class="ZZHT-nav-box">
						<a href="#">
							<li class="liselect ZZHT-lfloat ZZHT-nav-boxa">用户中心</li>
						</a>
						<div class="ZZHT-clear"></div>
					</div>
				</div>
				<div class="ZZHT-clear"></div>
			</div>
			<div class="ZZHT-main">
				<div id="user_left"></div>
				<div class="ZZHT-content">

					<div class="ZZHT-user-head clearfix">
						<b>申请代理</b>
						<!-- <a href="http://test.izzht.cn/home/users/security.html">返回</a> -->
						<span class="user_bread fr">
        当前位置：<span>用户身份</span>--<span>申请代理</span>
						</span>
					</div>
					<div class="mains bz">
						<form action="##" id="identityAgencyForm" class="nice-validator n-default" novalidate="novalidate">
							<div class="form-group">
								<label class="control-label">
					                <span class="text-label">代理级别：</span>
					                <select name="company_h" class="ipt" id="alevel" aria-required="true">
					                    <option value="">请输入代理级别</option>
					                    <option value="10">省级代理</option> 
					                    <option value="11">市级代理</option>
					                    <option value="12">区县代理</option>
					                </select>
					            </label>
							</div>
							<div class="layui-form-item form-area">
								<label class="layui-form-label labels">申请区域：</label>
								<div class="layui-input-inline select-box">
									<select id="areaId1" level="0" onchange="ZZHT.ITAreas({id:'areaId1',val:this.value,className:''});" aria-required="true">
										<option value="">-请选择-</option>
										<option value="110000">北京市</option>
										<option value="440000">广东省</option>
										<option value="450000">广西壮族自治区</option>
										<option value="460000">海南省</option>
										<option value="500000">重庆市</option>
										<option value="510000">四川省</option>
										<option value="520000">贵州省</option>
										<option value="530000">云南省</option>
										<option value="540000">西藏自治区</option>
										<option value="610000">陕西省</option>
										<option value="620000">甘肃省</option>
										<option value="630000">青海省</option>
										<option value="640000">宁夏回族自治区</option>
										<option value="650000">新疆维吾尔自治区</option>
										<option value="710000">台湾</option>
										<option value="810000">香港特别行政区</option>
										<option value="430000">湖南省</option>
										<option value="420000">湖北省</option>
										<option value="120000">天津市</option>
										<option value="130000">河北省</option>
										<option value="140000">山西省</option>
										<option value="150000">内蒙古自治区</option>
										<option value="210000">辽宁省</option>
										<option value="220000">吉林省</option>
										<option value="230000">黑龙江省</option>
										<option value="310000">上海市</option>
										<option value="320000">江苏省</option>
										<option value="330000">浙江省</option>
										<option value="340000">安徽省</option>
										<option value="350000">福建省</option>
										<option value="360000">江西省</option>
										<option value="370000">山东省</option>
										<option value="410000">河南省</option>
										<option value="820000">澳门特别行政区</option>
									</select>
								</div>
							</div>
							<div class="form-group">
								<label class="control-label">
					                <span class="text-label">股东职位：</span>
					                <select name="company_h" id="type" class="ipt" aria-required="true">
					                    <option value="">请选择股东职位</option>
					                    <option value="2">总裁</option>
					                    <option value="3">行政总监</option>
					                    <option value="4">财务总监</option>
					                    <option value="5">部门经理</option>
					                    <option value="7">普通股东</option>
					                </select>
					            </label>
							</div>
							<div class="form-group">
								<label class="control-label">
					                <span class="text-label">申请账号：</span>
					                <span><input type="text" class="ipt" id="phone" value="" disabled="disabled"></span>
					            </label>
							</div>
							<div>
								<input class="confirm_union sure_btn" type="submit" value="确定提交">
							</div>
						</form>
					</div>

				</div>
			</div>
			<div style="clear:both;"></div>
			<br>
		</div>
		<div id="ck3"></div>
		<script src="../js/jquery.min.js"></script>
		<script src="../js/jquery.validator.js"></script>
		<script src="../plugin/layer/layer.js"></script>
		<script src="../js/zh-CN.js"></script>
		<script src="../js/common.js"></script>
		<script src="../js/common_view.js"></script>
		
		<script type="text/javascript" src="../js/ljf_base.js"></script>
		<script src="../plugin/userLib/js/security.js"></script>
		<script type="text/javascript">
		    $(function () {
		    
			    $.ajax({//获取用户信息 头像等
					type: "get",
					url: SURL + "users/selectByUsersInfo",
					data: {
						"userId":localStorage.userId,
					},
					dataType: 'json',
					success: function(res) {
						console.log(res);
						if(res.messageCode==200){
							$('#phone').val(res.entity.userPhone);
							var userType = res.entity.userType;
							identityAgencyForm(userType);
						}else{
							layer.msg(res.message);
						}
						
					}
				});
			
			});
		</script>
	</body>

</html>